WpCafe\FoodOrder\Mini_Cart\Mini_Cart S

Total Complexity 41
Dependencies 1
Dependents 1
Total lines 360
Lines of code 230
Logical lines of code 93
Comment lines 88
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
add_mini_cart()
A
47 9 40
wpc_update_cart_quantity()
A
47 8 33
handle_mini_cart_buttons_before()
A
48 7 45
wpc_remove_cart_item()
S
53 4 22
before_minicart_buttons_add_extra_content()
S
53 2 29
__construct()
S
55 2 18
add_inline_script()
S
66 3 9
wpc_add_to_cart_content_fragment_refresh()
S
61 2 14
enqueue_mini_cart_scripts()
S
67 2 7
mini_cart_add_class()
S
77 1 3
wpc_add_to_cart_count_fragment_refresh()
S
65 1 10